package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @ClassName WorkArrangeWorkers
 * @Description 作业配工人数
 * @Author dujianyu
 * @Date 2023/12/12 16:11
 */
@Data
@TableName("work_arrange_workers")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "WorkArrangeWorkers对象", description = "作业配工人数")
public class WorkArrangeWorkers extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "配工ID")
    private Long arrangeId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业队ID")
    private Long teamId;

    @ApiModelProperty(value = "工人人数")
    private Integer workers;

    @ApiModelProperty(value = "配工类型")
    private String arrangeType;

}
